<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BOSS Afterburner: ListedObject&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BOSS Afterburner
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classListedObject.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="classListedObject-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ListedObject&lt; T &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__Afterburner__objects.html">Helper objects</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Derive from this base object using the <a href="https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern">Curiously Recurring Template Pattern (CRTP)</a> and all instances of the derived object will be keep tracked of in a list unique to that class.  
 <a href="classListedObject.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0ffae055d5bdf092bc3dce38af8057da"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListedObject.html#a0ffae055d5bdf092bc3dce38af8057da">ListedObject</a> ()</td></tr>
<tr class="separator:a0ffae055d5bdf092bc3dce38af8057da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4208dfa6b6e9dd54e048999f0c86026"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListedObject.html#ae4208dfa6b6e9dd54e048999f0c86026">~ListedObject</a> ()</td></tr>
<tr class="separator:ae4208dfa6b6e9dd54e048999f0c86026"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aba12b4f6edd4993855a96959cb153b81"><td class="memItemLeft" align="right" valign="top">static const Ssiz_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListedObject.html#aba12b4f6edd4993855a96959cb153b81">GetNInstances</a> ()</td></tr>
<tr class="separator:aba12b4f6edd4993855a96959cb153b81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02971120d1165ecc79e0060f80671470"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListedObject.html#a02971120d1165ecc79e0060f80671470">IterReset</a> ()</td></tr>
<tr class="separator:a02971120d1165ecc79e0060f80671470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acab52713b582bf41f7094f46156a3efe"><td class="memItemLeft" align="right" valign="top">static const bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListedObject.html#acab52713b582bf41f7094f46156a3efe">IterIsEnd</a> ()</td></tr>
<tr class="separator:acab52713b582bf41f7094f46156a3efe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b14342b86fc31b2050ad2a5cc0f45ec"><td class="memItemLeft" align="right" valign="top">static T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListedObject.html#a8b14342b86fc31b2050ad2a5cc0f45ec">IterNext</a> ()</td></tr>
<tr class="separator:a8b14342b86fc31b2050ad2a5cc0f45ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa661aa8a581929ddc2fa76b2dfc8036c"><td class="memItemLeft" align="right" valign="top">static T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListedObject.html#aa661aa8a581929ddc2fa76b2dfc8036c">IterGetObject</a> ()</td></tr>
<tr class="separator:aa661aa8a581929ddc2fa76b2dfc8036c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a6b06820d4506c8c0aea574a38eeb3cec"><td class="memItemLeft" align="right" valign="top">static std::list&lt; const <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt; * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListedObject.html#a6b06820d4506c8c0aea574a38eeb3cec">fInstances</a></td></tr>
<tr class="separator:a6b06820d4506c8c0aea574a38eeb3cec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac47f7799e13bfa253d4bcd0580902023"><td class="memItemLeft" align="right" valign="top">static std::list&lt; const <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt; * &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classListedObject.html#ac47f7799e13bfa253d4bcd0580902023">fIterator</a> {fInstances.end()}</td></tr>
<tr class="separator:ac47f7799e13bfa253d4bcd0580902023"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class T&gt;<br />
class ListedObject&lt; T &gt;</h3>

<p>Derive from this base object using the <a href="https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern">Curiously Recurring Template Pattern (CRTP)</a> and all instances of the derived object will be keep tracked of in a list unique to that class. </p>
<dl class="section author"><dt>Author</dt><dd>Remco de Boer 雷穆克 (<a href="#" onclick="location.href='mai'+'lto:'+'r.e'+'.d'+'ebo'+'er'+'@st'+'ud'+'ent'+'s.'+'uu.'+'nl'; return false;">r.e.d<span style="display: none;">.nosp@m.</span>eboe<span style="display: none;">.nosp@m.</span>r@stu<span style="display: none;">.nosp@m.</span>dent<span style="display: none;">.nosp@m.</span>s.uu.<span style="display: none;">.nosp@m.</span>nl</a> or <a href="#" onclick="location.href='mai'+'lto:'+'rem'+'co'+'.de'+'.b'+'oer'+'@i'+'hep'+'.a'+'c.c'+'n'; return false;">remco<span style="display: none;">.nosp@m.</span>.de.<span style="display: none;">.nosp@m.</span>boer@<span style="display: none;">.nosp@m.</span>ihep<span style="display: none;">.nosp@m.</span>.ac.c<span style="display: none;">.nosp@m.</span>n</a>) </dd></dl>
<dl class="section date"><dt>Date</dt><dd>April 14th, 2019 </dd></dl>

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00017">17</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0ffae055d5bdf092bc3dce38af8057da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ffae055d5bdf092bc3dce38af8057da">&#9670;&nbsp;</a></span>ListedObject()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt;::<a class="el" href="classListedObject.html">ListedObject</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00020">20</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>

</div>
</div>
<a id="ae4208dfa6b6e9dd54e048999f0c86026"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4208dfa6b6e9dd54e048999f0c86026">&#9670;&nbsp;</a></span>~ListedObject()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt;::~<a class="el" href="classListedObject.html">ListedObject</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00021">21</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aba12b4f6edd4993855a96959cb153b81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba12b4f6edd4993855a96959cb153b81">&#9670;&nbsp;</a></span>GetNInstances()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const Ssiz_t <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt;::GetNInstances </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00023">23</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>

</div>
</div>
<a id="aa661aa8a581929ddc2fa76b2dfc8036c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa661aa8a581929ddc2fa76b2dfc8036c">&#9670;&nbsp;</a></span>IterGetObject()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T * <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt;::IterGetObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00051">51</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>

</div>
</div>
<a id="acab52713b582bf41f7094f46156a3efe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acab52713b582bf41f7094f46156a3efe">&#9670;&nbsp;</a></span>IterIsEnd()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const bool <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt;::IterIsEnd </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00026">26</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>

</div>
</div>
<a id="a8b14342b86fc31b2050ad2a5cc0f45ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b14342b86fc31b2050ad2a5cc0f45ec">&#9670;&nbsp;</a></span>IterNext()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T * <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt;::IterNext </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00043">43</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>

</div>
</div>
<a id="a02971120d1165ecc79e0060f80671470"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02971120d1165ecc79e0060f80671470">&#9670;&nbsp;</a></span>IterReset()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt;::IterReset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00025">25</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a6b06820d4506c8c0aea574a38eeb3cec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b06820d4506c8c0aea574a38eeb3cec">&#9670;&nbsp;</a></span>fInstances</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt; const <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt; * &gt; <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt;::fInstances</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00031">31</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>

</div>
</div>
<a id="ac47f7799e13bfa253d4bcd0580902023"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac47f7799e13bfa253d4bcd0580902023">&#9670;&nbsp;</a></span>fIterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt; const <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt; * &gt;::iterator <a class="el" href="classListedObject.html">ListedObject</a>&lt; T &gt;::fIterator {fInstances.end()}</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ListedObject_8h_source.html#l00032">32</a> of file <a class="el" href="ListedObject_8h_source.html">ListedObject.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ListedObject_8h_source.html">ListedObject.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classListedObject.html">ListedObject</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
